package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.AuctionFinishDao;
import com.platform.entity.AuctionFinishEntity;
import com.platform.service.AuctionFinishService;

/**
 * 竞拍结果表Service实现类
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-07-05 13:51:24
 */
@Service("auctionFinishService")
public class AuctionFinishServiceImpl implements AuctionFinishService {
    @Autowired
    private AuctionFinishDao auctionFinishDao;

    @Override
    public AuctionFinishEntity queryObject(Integer id) {
        return auctionFinishDao.queryObject(id);
    }

    @Override
    public List<AuctionFinishEntity> queryList(Map<String, Object> map) {
        return auctionFinishDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return auctionFinishDao.queryTotal(map);
    }

    @Override
    public int save(AuctionFinishEntity auctionFinish) {
        return auctionFinishDao.save(auctionFinish);
    }

    @Override
    public int update(AuctionFinishEntity auctionFinish) {
        return auctionFinishDao.update(auctionFinish);
    }

    @Override
    public int delete(Integer id) {
        return auctionFinishDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return auctionFinishDao.deleteBatch(ids);
    }
}
